镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix: fixed hanging in NA if url has hash - #7698

Merged
miherlosev merged 4 commits into
DevExpress:masterfrom
Aleksey28:na
May 16, 2023
Merged

miherlosev merged 4 commits into
DevExpress:masterfrom
Aleksey28:na

Conversation

@Aleksey28

@Aleksey28 Aleksey28 commented May 12, 2023 •

Copy link
Copy Markdown
Collaborator

[closes #7652]

Purpose

Fix hanging

Approach

Force page reloading page between tests in NA if URL has a hash.

References

#7652

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

@Aleksey28
Aleksey28 temporarily deployed to CI May 12, 2023 07:30 — with GitHub Actions Inactive
@Aleksey28
Aleksey28 requested a review from AlexKamaev May 12, 2023 07:46
Comment thread src/client/browser/index.js Outdated
}

function setLocation (command, opts) {
const hashIndex = command.url.indexOf('#');

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const hasHash         = ...
const onlyHashChanged =...

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree with hasHash, because we need to get a hash index to check that only hash has changed.

Comment thread test/functional/fixtures/driver/test.js Resolved
@Aleksey28
Aleksey28 temporarily deployed to CI May 12, 2023 07:52 — with GitHub Actions Inactive
@AlexKamaev
AlexKamaev removed their request for review May 12, 2023 07:57
@Aleksey28
Aleksey28 temporarily deployed to CI May 12, 2023 14:14 — with GitHub Actions Inactive
@miherlosev
miherlosev enabled auto-merge (squash) May 16, 2023 03:01
@miherlosev
miherlosev disabled auto-merge May 16, 2023 03:02
@miherlosev
miherlosev merged commit 9808995 into DevExpress:master May 16, 2023
@github-actions

Copy link
Copy Markdown

Release v2.6.1-rc.1 addresses this.

This branch was previously deployed

1 inactive deployment
CI — d5ecc342 Deployed May 12, 2023 by Aleksey28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

testcafe just stops/hangs with nativeAutomation true

2 participants